FROM openjdk:8-jre-alpine

ENV PROFILE dev

ADD dockerdemo-1.0-SNAPSHOT.jar /app.jar

RUN sh -c 'touch /app.jar'

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]'

